/**
 * @author yuyangyang
 * @time 2015/2/3
 */
var conf = require('../config.json'),
    assets = require('../assets.json');

module.exports = {
    getAssets: function (module) {
        return conf.devMode ? module : assets[module];
    },
    getCdn: function () {
        return conf.devMode ? '' : conf.cdn;
    }
}